package org.example.base.common.entity;

import org.example.core.annotation.Field;
import org.example.core.annotation.Table;
import org.example.core.entity.SimpleEntity;
import org.example.core.entity.SupperEntity;

/**
 * Description:
 * Date: 2024/1/12 23:58
 */
@Table(value = "t_user_role")
public class TUserRoleEntity extends SupperEntity<String> {
    @Field(alias = "user_id")
    private String userId;
    @Field(alias = "role_id")
    private String roleId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
}
